package com.scpii.api.persistence.push;

import com.scpii.api.domain.push.Message;

public interface MessageMapper {
	/**
	 * 生成ID
	 * @return
	 */
	Long generateId();
	/**
	 * 插入一条消息
	 * @param record
	 * @return
	 */
	int insert(Message record);
	

    Message selectByPrimaryKey(Long id);

    
    
    
    
	
	
	
	
	
    int deleteByPrimaryKey(Long id);

 

    int insertSelective(Message record);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);
}